/*
 * MbsRenderer.h
 *
 *  Created on: 26-08-2011
 *      Author: tomasz
 */

#ifndef MBSRENDERER_H_
#define MBSRENDERER_H_


//-----------------------------------------------------------------------------
// RSIM includes:
//-----------------------------------------------------------------------------
#include "RSIM_INC.h"
//-----------------------------------------------------------------------------


/*
 *
 */
namespace graph {

class MbsRenderer {
public:
	// pointer to a multi body system to be rendered
	RSIM::MultibodySystem *mbs;
	// rendering operation
	virtual void renderMBS();
	inline void setMBS(RSIM::MultibodySystem * _mbs) { this->mbs = _mbs; }
	inline void setWireFrameMode(bool mode) { wireFrameMode = mode; }
	inline bool getWireFrameMode() { return wireFrameMode; }
	MbsRenderer();
	virtual ~MbsRenderer();
protected:
	bool wireFrameMode;
};

}

#endif /* MBSRENDERER_H_ */
